package com.fmjava.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.fmjava.utils.ResponseResult;

/*
 *@ClassName HandlerException
 *@Description TODO
 *@Author 吃麻椒的花酱
 *@Date 2021/9/1 13:35
 *@Version 1.0
 */
public class HandlerException {
    public static ResponseResult blockHandler(BlockException blockException) {

        return ResponseResult.error().message("服务器繁忙!!请稍后再试");
    }
}
